﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.Json.Serialization;
using Newtonsoft.Json;

namespace ApisixSDK.Admin.model.plugin
{
	public class ProxyRewrite : Plugin
	{
		[JsonPropertyName("scheme")]
		[JsonProperty(propertyName: "scheme")]
		public string Scheme { get; set; }

		[JsonPropertyName("uri")]
		[JsonProperty(propertyName: "uri")]
		public string Uri { get; set; }

		[JsonPropertyName("regex_uri")]
		[JsonProperty(propertyName: "regex_uri")]
		public string RegexUri { get; set; }

		[JsonPropertyName("host")]
		[JsonProperty(propertyName: "host")]
		public string Host { get; set; }

		[JsonPropertyName("headers")]
		[JsonProperty(propertyName: "headers")]
		public IDictionary<string, string> Headers { get; set; }

	}
}
